//
//  Message.swift
//  chenChat
//
//  Created by chen on 16/2/17.
//  Copyright © 2016年 chen. All rights reserved.
//

import UIKit

class Message: NSObject {
    let incoming: Bool
    let message: String
    let sentDate: NSDate
    let user: UserInfo = UserInfo(id: "-1", name: "Someone")
    let target: UserInfo = UserInfo(id: "-2", name: "Host")
    init(incoming: Bool,message: String,sentDate: NSDate) {
        self.incoming = incoming
        self.message = message
        self.sentDate = sentDate
    }
}
